﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="NhaSanXuatList.ascx.cs" Inherits="NhaSanXuatList" %>

<asp:GridView ID="grvFileInfo" runat="server" AutoGenerateColumns="False" AllowPaging="True"
    PageSize="8" CssClass="adminlist" OnPageIndexChanging="grvFileInfo_PageIndexChanging">
    <Columns>
        <asp:TemplateField ItemStyle-Width="20px">
            <HeaderTemplate>
                <input id="chkAll" onclick="javascript:SelectAllCheckboxes(this);" type="checkbox" />
            </HeaderTemplate>
            <ItemTemplate>
                <input runat="server" id="chkSelect" value='<%# "?mod=" +  WebComponents.ConvertType.Encode(this.AddModule) + "&id=" + Eval("ManufacturerID") %>'
                    title='<%# Eval("ManufacturerID") %>' type="checkbox" />
            </ItemTemplate>
            <ItemStyle HorizontalAlign="Center" Width="20px" />
            <HeaderStyle Width="20px" />
        </asp:TemplateField>
        <asp:TemplateField HeaderText="ID">
            <ItemTemplate>
                <asp:Label ID="lblManuID" runat="server" Text='<%# Eval("ManufacturerID") %>'></asp:Label>
            </ItemTemplate>
            <HeaderStyle Width="40px" />
            <ItemStyle HorizontalAlign="Center" />
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Tên nhà sản xuất">
            <ItemTemplate>
                <a href='?mod=<% = WebComponents.ConvertType.Encode(this.AddModule) %>&id=<%# Eval("ManufacturerID")  %>'>
                    <asp:Label ID="lblTitle" runat="server" Text='<%# Eval("ManufacturerVi") %>'></asp:Label>
                </a>
            </ItemTemplate>
            <HeaderStyle HorizontalAlign="Left" />
        </asp:TemplateField>
       <%-- <asp:TemplateField HeaderText="Logo">
            <ItemTemplate>               
                    <img src="../<%# Eval("ImageUrl") %>" style="max-width: 200px;"/>               
            </ItemTemplate>
            <ItemStyle HorizontalAlign="Left" />
            <HeaderStyle HorizontalAlign="Left" />
        </asp:TemplateField>--%>
    </Columns>
    <EmptyDataTemplate>
        <div align="center" id="EmptyData">
            Không có thông tin...</div>
    </EmptyDataTemplate>
    <RowStyle CssClass="row0" />
    <AlternatingRowStyle CssClass="row1" />
</asp:GridView>
